home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / repair / format.h < prev    next >
C/C++ Source or Header  |  2006-01-09  |  1KB  |  37 lines

  1. /*  Copyright 2001, 2002, 2003, 2004 by Hans Reiser, licensing governed by
  2.     reiser4progs/COPYING.
  3.     
  4.     repair/format.h -- reiserfs filesystem recovery structures and
  5.     macros. */
  6.  
  7. #ifndef REPAIR_FORMAT_H
  8. #define REPAIR_FORMAT_H
  9.  
  10. #include <reiser4/filesystem.h>
  11.  
  12. extern errno_t repair_format_check_struct(reiser4_fs_t *fs, 
  13.                       uint8_t mode, uint32_t options);
  14.  
  15. extern errno_t repair_format_update(reiser4_format_t *format);
  16.  
  17. extern errno_t repair_format_pack(reiser4_format_t *format, 
  18.                   aal_stream_t *stream);
  19.  
  20. extern reiser4_format_t *repair_format_unpack(reiser4_fs_t *fs,
  21.                           aal_stream_t *stream);
  22.  
  23. extern void repair_format_print(reiser4_format_t *format, 
  24.                 aal_stream_t *stream);
  25.  
  26. extern errno_t repair_format_check_backup(aal_device_t *device, 
  27.                       backup_hint_t *hint);
  28.  
  29. extern count_t repair_format_len_old(aal_device_t *device, 
  30.                      uint32_t blksize);
  31.  
  32. extern errno_t repair_format_check_len_old(aal_device_t *device, 
  33.                        uint32_t blksize, 
  34.                        count_t blocks);
  35.  
  36. #endif
  37.